<template>
  <div>
    <a
      @click='one'
      href="http://baidu.com"
    >百度。</a>
    <a
      @click='two(10, $event)'
      href="http://taobao.com"
    >淘宝。</a>
  </div>
</template>

<script>
export default {
  data () {

  },
  methods: {
    one (e) {
      e.preventDefault()
    },
    two (num, e) {
      e.preventDefault()
    }
  }

}
</script>

<style>
</style>